﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Akso.Entities;
using Akso.Invoices.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Invoices
{
    public interface IInvoiceAppService: IApplicationService
    {
        Task<ListResultDto<InvoiceListDto>> GetObjects(GetInvoicesInput input);
        Task<GetInvoiceForEditOutput> GetObjectForEdit(NullableIdDto<Guid> input);

        Task<Invoice> CreateOrUpdateObject(CreateOrUpdateInvoiceInput input);
    }
}
